package com.seaengine.net
{
	public class ProtocolMessage
	{
		//登陆
		public static const MSG_LOGIN:uint = 1;
		//新手登入
		public static const MSG_NEW_BIE_LOGIN:int = 2;
		public static const MSG_CHECK_CHARACTER_NAME:int = 3;
		public static const MSG_CREATE_ACCOUT:int = 4;
		//登出
		public static const MSG_LOGOUT:int = 5;
		public static const MSG_VERIFY_ACCOUT:int = 10;
		public static const MSG_QUERY_NEWBIEID:int = 11;
		public static const MSG_GET_GAME_TIME:int = 12;
		public static const MSG_LOGIN_FROM_JOYPORT:int = 13;
		
		/**新手注册账号后同步武功InstanceID*/
		public static const MSG_GetPlayerInfoForNewbie:int = 14;
		
		//防沉迷时间
		public static const MSG_requestPlayTime:uint = 16; 
		
		//功能地图
		public static const MSG_MoveInFunctionMap:uint = 20;
		public static const MSG_OpenFunctionPoint:uint = 21;
		public static const MSG_UpdateOnlinePlayerList:uint = 22;
		public static const MSG_TransferToMap:uint = 23;
		
		//离线挂机
		public static const MSG_BeginExercise:uint = 24;//开始挂机
		public static const MSG_EndExercise:uint = 25;//结束挂机
		
		//世界地图
		public static const MSG_OpenWorldMap:uint = 28;
		//马车移动结束
		public static const MSG_MoveToMapEnd:uint = 27;
		//马车移动开始
		public static const MSG_MoveToMapStart:uint = 26;
		//查询马车的时间和银两
		public static const MSG_MoveToMapQuery:uint = 29;
		
		//秘境
		public static const MSG_EnterAdventure:uint = 40;
		public static const MSG_ResuestDungeonList:uint = 41;
		public static const MSG_EnterDungeon:uint = 42;
		public static const MSG_FastEnterDungeon:uint = 43;
		public static const MSG_CreateDungeon:uint = 44;
		public static const MSG_ExitQueue:uint = 45;
		public static const MSG_GetWaitResult:uint = 46;
		public static const MSG_EnterDungeonACK:uint = 47;
		public static const MSG_ChangeZone:uint = 48;
		public static const MSG_ExitDungeon:uint = 49;
		public static const MSG_PlayerUpdate:uint = 50;
		public static const MSG_OpenBox:uint = 51;
		public static const MSG_ChangeLine:uint = 52;
		public static const MSG_AttackedByTrap:uint = 53;
		public static const MSG_DungeonSettle:uint=54;
		public static const MSG_GetDungeonInfo:uint= 55;
		public static const MSG_AutoEnterDungeon:uint = 56; 
		public static const MSG_CheckEnterDungeon:uint = 57; 
		public static const MSG_RequestScoreInfo:uint= 58;
		
		//任务系统
		public static const MSG_AcceptTask:uint = 60;
		public static const MSG_EpisodeTaskSettle:uint = 61;
		public static const MSG_NormalTaskSettle:uint = 62;
		public static const MSG_GiveUpTask:uint = 63;
		public static const MSG_UpdataTaskNPC:uint= 64;
		public static const MSG_UpdateCollectTaskState:uint= 65;

		//战斗相关
		public static const MSG_FightWithNPC:uint=80;     //发起与NPC的战斗
		public static const MSG_RequestNextAction:uint=81;  //请求下一个动作
		public static const MSG_RequestSettleForFight:uint=82 ;//战斗结束后，发起结算请求
		public static const MSG_MoveToRebirthPoint:uint =83;
		public static const MSG_Rebirth:uint=84 ;    //请求复活
		public static const MSG_FightWithNPCInMap:uint=85 ; //功能地图上战斗 
		public static const MSG_GetOpponentInfo:uint=88 ; //获得战斗对手信息 
		public static const MSG_FightReady:uint=89;
		public static const MSG_RequestPVPStart:uint=87;
		public static const MSG_RequestSettleForPVPFight:uint = 94;
		public static const MSG_FightWithMonster:uint=86;
		
		public static const MSG_ReportQteResult:uint=90;
		public static const MSG_RequestQteResult:uint=91;//请求对手QTE结果
		public static const MSG_ReportComboQteResult:uint=92;		
		public static const MSG_RequestComboQteResult:uint=93;//请求对手连招结果
		
		public static const MSG_SendFightCommand:uint = 95;
		public static const MSG_RebirthInCoWorld:uint = 96;
		public static const MSG_SendMyselfInfo:uint = 97;//发送自身信息到战斗服务器
		
		//武功
		public static const MSG_ActivateKongfu:uint = 100;
		public static const MSG_CancelKongfu:uint = 101;
		public static const MSG_LearnKongfu:uint = 102;
		public static const MSG_UpgradeKongfu:uint = 105;
		public static const MSG_StopUpgradeKongfu:uint = 106;
		public static const MSG_FinishUpgradeKongfu:uint = 107;
		public static const MSG_RecoverHp:uint = 108;
		public static const MSG_RecoverMp:uint = 109;
		public static const MSG_StopRecoverMp:uint = 110;
		public static const MSG_FinishRecoverMp:uint = 111;
		public static const MSG_Meditation:uint = 118;
		public static const MSG_StopMeditation:uint = 119;
		//背包
		public static const MSG_RequestBag:uint = 120;
		public static const MSG_DiscardEquip:uint = 121;
		public static const MSG_DiscardItem:uint = 122;
		public static const MSG_DiscardGem:uint = 134;
		public static const MSG_ExchangeEquip:uint = 123;
		public static const MSG_ExchangeBagPosition:uint = 124;
		
		//新版武功
		public static const MSG_KongfuLevelUp:uint = 221;
		public static const MSG_KongfuLevelupImmediatelyFinish:uint = 222;
		public static const MSG_FinishKongfuLevelup:uint = 223;
		public static const MSG_DeleteKongfu:uint = 224;/**删除武功*/
		public static const MSG_SetCombo:uint = 112;//设置连招
		
		//历史遗留问题

		public static const MSG_RequestNextActionWithChaoSha:uint = 5;
		public static const MSG_RequestNextActionWithQTE:uint = 6;

		public static const MSG_RequestEnterScene:uint = 8;
		public static const MSG_RequestExchangeElement:uint = 9;
		public static const MSG_SettleTask:uint = 10;
		public static const MSG_KongfuLevelUp_:uint = 11;
		public static const MSG_BuddyList:uint = 13;
		
		public static const MSG_SetPlayerState:uint = 15;
		
		public static const MSG_GetPlayerEquipInfo:uint = 143;
		
		//商店
		/**卖出*/
		public static const MSG_SELL_ITEM:uint = 142;
		
		/**购买*/
		public static const MSG_BUY_ITEM:uint = 141;
		
		/**商店物品列表*/
		public static const MSG_STORE_ITEM_LIST:uint = 140;
		
		/**木头人挂机开始*/
		public static const MSG_BEGIN_TRAINING:uint = 200;
		
		/**木头人挂机结束*/
		public static const MSG_END_TRAINING:uint = 201;
		
		/**使用道具回气回血*/
		public static const MSG_CONSUME_ITEM:uint = 125;
		
		/**免费刷新功夫商店*/
		public static const MSG_FREE_REFRESH_KONGFU_SHOP:uint = 113;
		
		/**付费刷新功夫商店*/
		public static const MSG_FREE_PAID_REFRESH_KONGFU_SHOP:uint = 114;
		
		/**从书店学习武功*/
		public static const MSG_LEARN_KONG_FU_FROM_SHOP:uint = 115;
		
		//势力
		public static const MSG_ChangeForce:uint = 160;
		//势力
		public static const MSG_ItemExchange:uint = 170;
		
		/**武功修为提升*/
		public static const MSG_KongfuCultivationLevelUp:uint = 220;
		/**强化武功*/
		public static const MSG_StrengthenKongfu:uint = 116;
		
		/**传送到指定野外*/
		public static const MSG_TransferToAdvDungeon:uint = 203;
		
		/**退出指定排队队列s*/
		public static const MSG_ExitFromWaitQueue:uint = 204;
		
		//线数
		public static const MSG_UpdataLineNumberList:uint = 206;
		
		/**请求一天内进入秘境次数列表*/
		public static const MSG_QUEST_ENTER_TIMES:uint = 205;
		
		/**免费刷新日常任务*/
		public static const MSG_FREE_DAILY_TASK:uint = 66;
		
		/**付费刷新日常任务*/
		public static const MSG_PAID_DAILY_TASK:uint = 67;
		
		/**请求已完成的每日任务个数*/
		public static const MSG_HAS_FINISHED_DAILY_TASK_COUNT:uint = 68;
		
		/**放弃某个占位*/
		public static const MSG_GIVEUP_TICKET:uint = 207;
		
		/**木人抢夺*/
		public static const MSG_ROB_START_IN_CO_DUNGEON:uint = 208;
		
		/**免费刷新镖银*/
		public static const MSG_FREE_REFRESH_DART_SHOP:uint = 69;
		
		/**付费刷新镖银*/
		public static const MSG_PAID_REFRESH_DART_SHOP:uint = 70;
		
		/**购买镖银*/
		public static const MSG_BUY_DART:uint = 71;
		public static const MSG_RequestExchangeDartCount:uint = 72;
		
		/**使用元宝复活*/
		public static const MSG_FAST_REVIVE:uint = 202;
		
		/**排行榜  */
		public static const MSG_GetRankingInfo:uint = 180; //获得排行榜信息
		
		public static const MSG_GetRankingReward:uint = 181; //领取排行榜奖励

		public static const MSG_RankingFight:uint = 182; //兵器谱战斗
		
		public static const MSG_GetRankingFightTime:uint = 183; //请求下次可以挑战时间		

		public static const MSG_AccelerateRankingFightTime:uint = 184; //加速挑战时间		
		
		/**治疗包*/
		public static const MSG_RequestAddPlayerHPMPBuffer:uint = 126;
		public static const MSG_RequestActiveHPMPBuffer:uint = 138;
		/**减少自动QTE次数*/
		public static const MSG_RequestReduceAutoQTENumber:uint = 99;
		
		/**回到门派*/
		public static const MSG_RequestBackToParty:uint = 219;
		
		/**立即恢复置满血满魔*/
		public static const MSG_RECOVER:uint = 98;
		
		/**查询今日抢夺次数*/
		public static const MSG_QUEST_ROB_TIMES:uint = 209;
		
		/**背包整理*/
		public static const MSG_CHANGE_BAG:uint = 127;
		
		/**强化装备*/
		public static const MSG_StrengthenEquip:uint = 128;		
		/**精炼装备*/
		public static const MSG_RefiningEquip:uint = 129;		
		/**替换精炼属性*/
		public static const MSG_RefreshEquip:uint = 130;
		public static const MSG_PunchEquip:uint = 131;/**打孔*/
		public static const MSG_MosaicEquip:uint = 132;/**镶嵌*/
		public static const MSG_DisassemblyEquip:uint = 133;/**拆卸*/
		public static const MSG_GiftCode:uint = 136;/**礼包*/
		public static const MSG_GetReward:uint = 137;/**活动礼包*/
		
		
		/**轻功开始*/
		public static const MSG_QING_KUNG_BEGIN:uint = 211;
		
		/**轻功结束*/
		public static const MSG_QING_KUNG_END:uint = 212;
		
		public static const MSG_SaveAddStrength:uint = 117; //保存加力			
		
		public static const MSG_ItemComposition:uint = 171;/**道具合成*/		
		
		public static const MSG_OPEN_SOLTS:uint = 135;
		
		//vip系统
		public static const MSG_GetRebateIngot:uint = 260;/**领取返利元宝*/	
		public static const MSG_GetDailyGift:uint = 261;/**领取当日礼包*/	
		public static const MSG_BuyMoney:uint = 262;/**购买银两*/	
		public static const MSG_GetVIPLevel:uint = 263;/**获取最新VIP信息*/	
				public static const MSG_RequestBuyMoneyCount:uint = 264;/**获取当日购买银两次数*/
		public static const MSG_AUTO_FRESH_KONGFU:uint = 225; 

		/**古迹历练*/
		public static const MSG_changeDestiny:uint = 213 /**请求转运*/
		public static const MSG_adventureBegin:uint = 214 /**开始历练*/
		public static const MSG_adventureEnd:uint = 215 /**结束历练*/
		public static const MSG_adventureRequest:uint = 216 /**请求历练事件*/
		public static const MSG_adventureComplete:uint = 217/**花费元宝立即完成历练*/
		
		public static const MSG_questCurrentLine:uint = 210; //查询当前所在线数号
		
		public static const MSG_flyToLatestWorld:uint = 218; //退回到最近到过的功能地图
		
		public static const MSG_hangupDungeonBegin:uint = 240; //开始挂秘境
		public static const MSG_hangupDungeonEnd:uint = 241; //结束挂秘境
		public static const MSG_hangupDungeonComplete:uint = 242; //完成挂秘境,请求结算
		
		public static const MSG_FastKillMonster:uint = 30;/**功能地图秒怪*/
		
		public static const MSG_InheritRefiningEquip:uint = 139;/**强化继承功能*/
		
		/**
		 * 日常面板 
		 */		
		public static const MSG_GetDailyReward:uint = 144; //获取日常奖励
		public static const MSG_GetDailyRewardInfo:uint = 145; //获取日常奖励信息
		
		public static const MSG_AddAFriend:uint = 280; //加好友
		public static const MSG_DelAFriend:uint = 281; //删好友
		public static const MSG_AddABlack:uint = 282; //加黑名单
		public static const MSG_DelABlack:uint = 283; //删黑名单
		public static const MSG_GetFriends:uint = 284; //获取好友列表
		public static const MSG_GetBlacks:uint = 285; //获取黑名单列表
		public static const MSG_GetOnlineFriends:uint = 286; //获取在线好友ID列表
		public static const MSG_RequestRewardInfo:uint = 265; //更新奖励信息


		public function ProtocolMessage()
		{
			
		}

	}
}